#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>

int main(int argc, const char** argv)
{
    int fd = open("/dev/myBtnsDev", O_RDONLY);
    if(fd < 0)
    {
        perror("打开myBtns失败\n");
        return -1;
    }

    sleep(10);

    close(fd);

    return 0;
}